package com.driving.code.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("collection")
public class Collection implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "collection_id",type = IdType.AUTO)
    private Integer collectionId;
    private Integer userId;
    private Integer typeId;
    private Integer questionId;
    private Date createTime;
    private Date updateTime;
    private Integer isDelete;
}
